/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.inventory;

import java.util.List;
import model.inventory.Unit;

/**
 *
 * @author jay
 */

public interface UnitService {
    boolean save(Unit unit);
    boolean delete(Unit unit);
    Unit getUnit(int id);
    Unit getUnit(String kode);
    List<Unit> getUnit();
    List<Unit> getUnit(int start, int num);
    List<Unit> getUnit(int start, int num, String params, String orderBy);
}
